<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>合规信用系统</title>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="${ctxhtml_EC}/images/favicon.ico" >
<link rel="Shortcut Icon" href="${ctxhtml_EC}/images/favicon.ico" />
<style type="text/css">
	.title-show{
		display:none;
	}
	.hover-color:hover{
		text-decoration: none !important;
    	color: #306ef7 !important; 
    	transition: all 1s ease-in;
   		-ms-transition: all 1s ease-in;
    	 	
	}
</style>

<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/static/h-ui.admin/css/style.css" />
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/css/reset.css" />
<link rel="stylesheet" type="text/css" href="${ctxhtml_EC}/css/product.css" />
<script type="text/javascript" src="${ctxhtml_EC}/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript">
 var id = '${fns:getMenuList()[0].id}';
</script>
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>恒天财富</title>
<meta name="keywords" content="">
<meta name="description" content="">
</head>
<body>
<header class="navbar-wrapper">
<div class="navbar navbar-fixed-top">
	<div class="container-fluid cl">
		<ul>
			<li class="logo navbar-logo f-l mr-10 hidden-xs"><!-- <img src="ctxhtml_EC/images/icon-logo.png" alt=""> --></li>
			<li class="logo navbar-logo-m f-l mr-10 visible-xs">合规信用体系</li> 
			<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
		</ul>
		<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
			<ul class="cl">
				<li style="margin-right:8px;">${emp.name}</li>
				<li style="margin-right:8px;">工号${emp.code}</li>
				<li style="margin-right:8px;">${emp.deptName}</li>
				<li style="margin-right:8px;">${emp.postName}</li>
				<li><a href="#" onclick="myselfinfo()" >|&nbsp;&nbsp;&nbsp;退出</a></li>
			</ul>
		</nav>
	</div>
</div>
</header>
<div class="icon-list">
	<nav class="breadcrumb breadcrumb-position">
		<a href="javascript:void(0);">首页 </a>
		<span class="">&gt;</span><a href="javascript:void(0);" id='menu_i_1'>营销管理</a>
		<span class="" style="">&gt;</span><a href="javascript:void(0);" id='menu_i_2'>欢迎使用</a><i class="icon-down"></i>	
	</nav>
</div>
<div class="main-position">
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2" style="margin-bottom:50px;">
		<dl id="menu-article">
			<dt><img src="${ctxhtml_EC}/images/shenqing.png" alt="">产品管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
			<dd>
				<ul>
					<li><a data-href="${ctxhtml_EC}/productList.html" data-title="产品列表" href="javascript:void(0)">产品列表</a></li>
					<li><a data-href="${ctxhtml_EC}/newProduct.html" data-title="新建产品" href="javascript:void(0)">新建产品</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-article">
			<dt><img src="${ctxhtml_EC}/images/dingdan.png" alt="">营销管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
			<dd>
				<ul>
					<li><a data-href="${ctxhtml_EC}/marketingProject.html" data-title="营销项目" href="javascript:void(0)">营销项目</a></li>
					<li><a data-href="${ctxhtml_EC}/largeArea.html" data-title="新建项目" href="javascript:void(0)">新建项目</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-article">
			<dt><img src="${ctxhtml_EC}/images/shenqing.png" alt="">预约管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
			<dd>
				<ul>
					<li><a data-href="${ctxhtml_EC}/violationRecord.html" data-title="我的预约" href="javascript:void(0)">我的预约</a></li>
					<li><a data-href="${ctxhtml_EC}/complianceCredit.html" data-title="新建预约" href="javascript:void(0)">新建预约</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-article">
			<dt><img src="${ctxhtml_EC}/images/dingdan.png" alt="">银行卡管理<i class="Hui-iconfont menu_dropdown-arrow"></i></dt>
			<dd>
				<ul>
					<li><a data-href="${ctxhtml_EC}/businessDepartment.html" data-title="银行卡列表" href="javascript:void(0)">银行卡列表</a></li>
					<li><a data-href="${ctxhtml_EC}/parameterConfiguration.html" data-title="新建银行卡" href="javascript:;">新建银行卡</a></li>
				</ul>
			</dd>
		</dl>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active">
					<span title="欢迎使用" data-href="${ctxhtml_EC}/main.html">欢迎使用</span>
					<em></em>
				</li>
			</ul>
		</div>
		<!-- <div class="Hui-tabNav-more btn-group">
			<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;">
				<i class="Hui-iconfont">&#xe6d4;</i>
			</a>
			<a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;">
				<i class="Hui-iconfont">&#xe6d7;</i>
			</a>
		</div> -->
	</div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe id="iframename" name="iframename" scrolling="yes" frameborder="0" src="${ctxhtml_EC}/main.html "></iframe>
		</div>
	</div>
</section>
<!-- <div class="contextMenu" id="Huiadminmenu">
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
	</ul>
</div> -->
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="${ctxhtml_EC}/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="${ctxhtml_EC}/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="${ctxhtml_EC}/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/js/allProduct.js"></script>
<%-- <!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="${ctxhtml_EC}/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="${ctxhtml_EC}/lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/js/allProduct.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/layer-extend.js"></script>
<script type="text/javascript" src="${ctxhtml_EC}/js/index.js"></script>  --%>
<script type="text/javascript">
	$(document).ready(function () {
		 var length='${fns:getMenuList().size()}';
		if(length == 0){
			$('.mainInfo ').hide();
			layer.msg("该用户没有权限！请联系系统管理员!");
		} 
	    $('body').bind('myclick', function () {
	        var _asideH = $('.Hui-aside .menu_dropdown').height();
	        $("iframe").load(function () {
	            var myiframeH = $(this).contents().find(".main-content").height();
	            if (_asideH > myiframeH) {
	                $('body').css('height', (_asideH + 150) + 'px');
	                $('.main-position').css('height', (_asideH + 100) + 'px');
	                $(this).height('100%');
	            } else {
	                $('body').css('height', (myiframeH + 150) + 'px');
	                $('.main-position').css('height', (myiframeH + 100) + 'px');
	                $(this).height('100%');
	            };
	        });
	
	    });
	    $('body').trigger('myclick')
	});
	$('body').on('click', function () {
	    var _asideH = $('.Hui-aside .menu_dropdown').height();
	    $("iframe").load(function () {
	        var myiframeH = $(this).contents().find(".main-content").height();
	        if (_asideH > myiframeH) {
	            $('body').css('height', (_asideH + 150) + 'px');
	            $('.main-position').css('height', (_asideH + 100) + 'px');
	            $(this).height('100%');
	        } else {
	            $('body').css('height', (myiframeH + 150) + 'px');
	            $('.main-position').css('height', (myiframeH + 100) + 'px');
	            $('Hui-article-box').css('height', (myiframeH + 50) + 'px');
	            $(this).height('100%');
	        };
	    });
	    $('.title-show').show();
	});
	function resultMain(){
		window.location.href ='${fns:getmainUrl()}';
	}

	function logOut() {
	    $.layer.openContent('<div class="checkDiv">确定要退出吗？</div>', "退出提示", {
	        "area": ['400px','230px'], btn: ["确定", "取消"],
	        yes: function (index, layero) {
	            $.ajax({
	                cache: true,
	                type: "POST",
	                url: 'logoutPC',
	                data: '',	              
	                async: false,
	                success: function (data) {                	
	                	resultMain(); 
	                }
	            });
	        }
	    });
	}

	function toLogin(message) {
	    $.layer.openContent("<div class='checkDiv'>" + message + "</div>", '信息', {
	        "area": ['400px', '230px'], btn: ["确定"],
	        yes: function (index, layero) {
	            window.location.href = $("#toHead").attr("url") + "/login.html";
	        }
	    });
	}
	//处理弹框
	var scrollVal;
	var myLayer; //子页面layer对象
	$(document).ready(function () {
	    $(window).scroll(function () {
	        var wH = (($(window).height()) - 620) / 2;
	        var s_height = ($(this).scrollTop() + wH) + 'px';
	        if (scrollVal) {
	
	            myLayer.style(scrollVal, {
	                top: s_height
	            });
	        }
	
	    });
	})
	
	function setLayer(index) {
	    myLayer = index;
	}
	
	function setScrollVal(index) {
	    scrollVal = index;
	}
	
	function setScrollTop() {
	        var _top = ((($(window).scroll()) / 5) + 10) + 'px';
	        $(window).scrollTop(_top);
    }
	    //处理弹框结束
	    /*个人信息*/
	
	function myselfinfo() {
	    layer.open({
	        type: 1,
	        area: ['300px', '200px'],
	        fix: false, //不固定
	        maxmin: true,
	        shade: 0.4,
	        title: '查看信息',
	        content: '<div>管理员信息</div>'
	    });
	}
	
	/*资讯-添加*/
	function article_add(title, url) {
	        var index = layer.open({
	            type: 2,
	            title: title,
	            content: url
	        });
	        layer.full(index);
	    }
	    /*图片-添加*/
	
	function picture_add(title, url) {
	        var index = layer.open({
	            type: 2,
	            title: title,
	            content: url
	        });
	        layer.full(index);
	    }
	    /*产品-添加*/
	
	function product_add(title, url) {
	        var index = layer.open({
	            type: 2,
	            title: title,
	            content: url
	        });
	        layer.full(index);
	    }
	    /*用户-添加*/
	
	function member_add(title, url, w, h) {
	    layer_show(title, url, w, h);
	}
</script> 
</body>
</html>